# The module Element, includes all the page elements (icons, links, buttons,
# text_fields, checkboxes, select lists, dialog-boxes)

module Element
  
    @@form1='LeadCreateEditForm'
    class QuickCreateLead
  
        def self.fname_text_field
            return $ie.text_field(:name,$popform+".First Name")
        end
        def self.lname_text_field
            return $ie.text_field(:name,$popform+".Last Name")
        end
        def self.cname_text_field
            return $ie.text_field(:name,$popform+".Company Name")
        end
        def self.market_select_list
            return $ie.select_list(:name,$popform+".Indexed Pick 0")
        end
        def self.submarket_select_list
            return $ie.select_list(:name,$popform+".Indexed Pick 1")
        end
        def self.lead_source_select_list
            return $ie.select_list(:name,$popform+".Lead Source")
        end
        def self.lead_rating_select_list
            return $ie.select_list(:name,$popform+".Lead Rating")
        end
        def self.save_button
            return $ie.button(:id,"SaveID")
        end

    end
end